package com.persistence.dao;

import com.persistence.dao.interfaces.DAOModelo;
import com.persistence.dao.mysql.MySQLDAOFactory;

public abstract class DAOFactory {
	public static final int MySQL = 1;
	 
	public abstract DAOModelo getDAOModelo();
	
    /***************************************************************************
    DOCUMENT ME!

    @param   which  DOCUMENT ME!

    @return  DOCUMENT ME!
    ***************************************************************************/
    public static DAOFactory getDAOFactory(int which)
    {
        switch (which)
        {
            case MySQL:
                return new MySQLDAOFactory();

            default:
                return null;
        }
    }
}
